//
//  CollectionViewCell.h
//  HimalayaMusic
//
//  Created by dllo on 16/1/8.
//  Copyright © 2016年 WXCLegendary. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CollectionReusableView.h"

@protocol CellDelegate <NSObject>

- (void)changeAndGet:(NSString *)name withCondition:(NSNumber *)condition;

@end

@protocol DetailDelegate <NSObject>

- (void)changeVC:(NSNumber *)number withUrl:(NSString *)url withTitle:(NSString *)title;

@end

@interface CollectionViewCell : UICollectionViewCell<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout,MoreDelegate>

@property (nonatomic, strong) UICollectionView *collectionView;
@property (nonatomic, strong) UICollectionViewFlowLayout *flowLayout;


@property (nonatomic, strong) NSMutableArray *dataSourece;
@property (nonatomic, strong) NSArray *titleArray;
@property (nonatomic, strong) NSArray *modelArray;
@property (nonatomic, strong) NSArray *nameArray;
@property (nonatomic, strong) NSArray *idArray;

@property (nonatomic, assign) id<CellDelegate>delegate;

@property (nonatomic, assign) id<DetailDelegate>delegates;

@end
